SimplePay\Core\Utils\Rate_Limiting S

Total Complexity 27
Dependencies 0
Dependents 2
Total lines 321
Lines of code 111
Logical lines of code 68
Comment lines 152
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
has_hit_limit()
S
57 4 16
get_file()
S
61 3 13
increment_rate_limit_count()
S
63 2 11
setup_log_file()
S
66 2 8
get_rate_limiting_entry()
S
67 2 8
get_rate_count()
S
65 2 9
update_rate_limiting_count()
S
63 2 10
get_decoded_file()
S
69 2 7
write_to_log()
S
71 2 6
init()
S
74 1 4
remove_log_entry()
S
73 1 5
rate_limiting_enabled()
S
73 1 5
get_rate_limit_id()
S
81 1 3
get_file_contents()
S
81 1 3
has_file()
S
80 1 3